package com.itheima.admin.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @author WXL
 * 部门的实体
 */
@Data
@TableName(value = "ss_dept")
public class Department {

    @TableId
    private String deptId;
    private String deptName;
    private String parentId;
    private String state;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

}
